package com.zpark.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import tk.mybatis.mapper.annotation.KeySql;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

/**
 * @PackageName: com.zpark.pojo
 * @ClassName: Ranking
 * @Description:
 * @author: RZS
 * @date: 2022/10/11  10:20
 */
@AllArgsConstructor
@NoArgsConstructor
@Data
@Slf4j
// 指定实体类映射的表
@Table(name = "ranking")
public class Ranking {
    @Id
    @KeySql(useGeneratedKeys = true)
    private Integer id;

    @Column(name = "film_index")
    private Integer filmIndex;
    private String filmName;
    private String filmActorName;
    private String filmFeasibly;

    @Transient
    private boolean a;
}
